ComponentOne Data Source for Entity Framework
C1.LiveLinq.Indexing Namespace / Index<T> Class / FindBetween Method
Minimum key value to search for.
If true, the result includes items with the minimum key value.
Maximum key value to search for.
If true, the result includes items with the maximum key value.
Optionally specifies the order of the key values to sort the result (C1.LiveLinq.Order.Unordered if sorting is not required).

In This Topic
    FindBetween Method (Index<T>)
    In This Topic

    Finds items with key values in the interval between the specified values.

    Implements IIndexScanner(T).FindBetween(object,bool,object,bool,Order)

    Syntax
    'Declaration
     
    
    Public Function FindBetween( _
       ByVal min As System.Object, _
       ByVal minInclusive As System.Boolean, _
       ByVal max As System.Object, _
       ByVal maxInclusive As System.Boolean, _
       ByVal order As Order _
    ) As IndexQuery(Of T)
    public IndexQuery<T> FindBetween( 
       System.object min,
       System.bool minInclusive,
       System.object max,
       System.bool maxInclusive,
       Order order
    )

    Parameters

    min
    Minimum key value to search for.
    minInclusive
    If true, the result includes items with the minimum key value.
    max
    Maximum key value to search for.
    maxInclusive
    If true, the result includes items with the maximum key value.
    order
    Optionally specifies the order of the key values to sort the result (C1.LiveLinq.Order.Unordered if sorting is not required).

    Return Value

    An object enumerating all items with key values within the specified limits.
    See Also